package cn.homework.domain;

/**
 * @author ACT
 */
public class Notice {
    private String id;
    private String message;
    private String admin;
    private String time;

    public Notice() {
    }

    public Notice(String id, String message, String admin, String time) {
        this.id = id;
        this.message = message;
        this.admin = admin;
        this.time = time;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getAdmin() {
        return admin;
    }

    public void setAdmin(String admin) {
        this.admin = admin;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Notice{" +
                "id='" + id + '\'' +
                ", message='" + message + '\'' +
                ", admin='" + admin + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
